/**
 * 
 */
package featureautomate.structure;

import org.eclipse.xtext.common.types.JvmTypeReference;

/**
 * @author D.Abdelali
 *
 */
public class Service {
	
	
	private String name;
	private String type;
	
	
	/**
	 * @param name
	 * @param type
	 */
	
	public Service(String name) {
		
		this.name = name;
	
	}
	
	public Service(String name, String type) {
	
		this.name = name;
		if(type==null)
		type="";
		this.type = type;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	
	public Service clone(){
		return new Service(name, type);
	}
	
}
